package com.lianzhihui.romeex.bean;

/**
 * Description:
 * Author: RAMON
 * CreateDate: 2020/11/10 3:24 PM
 * UpdateUser:
 * UpdateDate:
 * UpdateRemark:
 * Version:
 */
public class ZZConfigBean {


    /**
     * price : 0.2
     * walletAddressCross :
     * config : {"coboName":"BTC","rate":0.1,"fixed":1,"value":"fixed","minMoney":"0.0001"}
     */

    private String price="";//汇率
    private double balance;//余额
    private double mainBalance;//手续费余额
    private String walletAddressCross="";//提现才返回
    private ConfigBean config;

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getWalletAddressCross() {
        return walletAddressCross;
    }

    public void setWalletAddressCross(String walletAddressCross) {
        this.walletAddressCross = walletAddressCross;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }

    public double getMainBalance() {
        return mainBalance;
    }

    public void setMainBalance(double mainBalance) {
        this.mainBalance = mainBalance;
    }

    public static class ConfigBean {
        /**
         * coboName : BTC
         * rate : 0.1
         * fixed : 1
         * value : fixed
         * minMoney : 0.0001
         */

        private String coboName="";//名称
        private double rate;//手续费比例
        private double fixed;//固定手续费
        private String value=""; //fixde 当前使用固定手续费,rate一定比例收取
        private String coinNameCobo="";
        private String coinName="";
        private double minMoney;//最小转账金额

        public String getCoboName() {
            return coboName;
        }

        public void setCoboName(String coboName) {
            this.coboName = coboName;
        }

        public double getRate() {
            return rate;
        }

        public void setRate(double rate) {
            this.rate = rate;
        }

        public double getFixed() {
            return fixed;
        }

        public void setFixed(double fixed) {
            this.fixed = fixed;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public double getMinMoney() {
            return minMoney;
        }

        public void setMinMoney(double minMoney) {
            this.minMoney = minMoney;
        }

        public String getCoinNameCobo() {
            return coinNameCobo;
        }

        public void setCoinNameCobo(String coinNameCobo) {
            this.coinNameCobo = coinNameCobo;
        }

        public String getCoinName() {
            return coinName;
        }

        public void setCoinName(String coinName) {
            this.coinName = coinName;
        }

        @Override
        public String toString() {
            return "ConfigBean{" +
                    "coboName='" + coboName + '\'' +
                    ", rate=" + rate +
                    ", fixed=" + fixed +
                    ", value='" + value + '\'' +
                    ", coinNameCobo='" + coinNameCobo + '\'' +
                    ", coinName='" + coinName + '\'' +
                    ", minMoney=" + minMoney +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ZZConfigBean{" +
                "price='" + price + '\'' +
                ", balance=" + balance +
                ", walletAddressCross='" + walletAddressCross + '\'' +
                ", config=" + config.toString() +
                '}';
    }
}
